package it.univaq.mwt.common.business.impl;

import it.univaq.mwt.business.NewsService;
import it.univaq.mwt.common.business.NewsServiceFactory;
import it.univaq.mwt.facade.FacadeNews;
import it.univaq.mwt.model.bean.NewsBeanRemote;

public class DBNewsServiceFactory extends NewsServiceFactory{

	private NewsBeanRemote nbr;	
	
	
	public DBNewsServiceFactory(NewsBeanRemote nbr) {
		super();
		this.nbr = nbr;
	}

	@Override
	public NewsService getNewsService() {

		 return new FacadeNews(nbr);
	}
	
	

}
